//
//  KRReadPost.h
//  cookBook
//
//  Created by kuroken on 16/1/15.
//  Copyright © 2016年 kuroken. All rights reserved.
//

#import <Foundation/Foundation.h>
@class KRReadComment;
@interface KRReadPost : NSObject
/*  正文
Url = http://m.haodou.com/topic-415614.html?_v=nohead,
ViewCount = 32466浏览,
ImageUrl = http://img3.hoto.cn/group/201601/08/2563529_49275115.jpg,  第一张图片地址
Avatar = http://avatar0.hoto.cn/a8/2e/2240168_185.jpg,
UserId = 2240168,
UserName = 蔓越莓曲奇,
CateId = 8,
IsVip = 0,
CreateTime = 2016-01-13 18:47:00,
CateName = 厨房宝典,
Title = 干货丨盘点最好味的汤面条，超赞！,
UserUrl = haodourecipe://haodou.com/user/wo/?id=2240168,
CommentCount = 31,
IsFav = 0,                                                  ??
TopicUrl = haodourecipe://haodou.com/httopic/?id=8          ??
 */
/** Url 网页的地址 */
@property (nonatomic, copy) NSString *url;
/** ViewCount 浏览数 */
@property (nonatomic, copy) NSString *viewCount;
/** Avatar 用户头像 */
@property (nonatomic, copy) NSString *avatar;
/** UserId 用户ID */
@property (nonatomic, copy) NSString *userID;
/** UserName 用户名 */
@property (nonatomic, copy) NSString *userName;
/** IsVip 是否vip */
@property (nonatomic, assign, getter=isVip) bool vip;
/** CreateTime 创建时间 */
@property (nonatomic, copy) NSString *createTime;
/** CateName 小组名称 */
@property (nonatomic, copy) NSString *cateName;
/** CateId 小组ID */
@property (nonatomic, copy) NSString *cateID;
/** Title 标题 */
@property (nonatomic, copy) NSString *title;
/** CommentCount 评论数 */
@property (nonatomic, copy) NSString *commentCount;
/** commentcount 评论数(每次会更新) */
@property (nonatomic, copy) NSString *commentcount;

/*
 "type": 3,
 "show_favor": 1,
 "show_share": 1,
 "show_comment": 1,
 "is_favor": 0,
 "comment_num": 13,
 "share_title": "百变年夜饭大PK，你更喜欢哪一款？",
 "share_desc": "猴年，看孙大圣准备的年夜饭！家乡味、健康味、创意味、合家欢......快来戳一戳，有你爱的年味么？转发还有惊喜哟~",
 "share_img": "http://img4.hoto.cn/mobile/family_reunion_dinner_2016/images/image_share/200x200.jpg",
 "share_url": "http://m.haodou.com/app/recipe/act/familyreuniondinner2016.php"
 */
/** share_url 网页URL*/
@property (nonatomic, copy) NSString *shareUrl;
/** comment_num 评论数 */
@property (nonatomic, copy) NSString *shareCommentCount;


@property (nonatomic, strong) NSMutableArray<KRReadComment *> *commentList;

@end
